package com.example.yeujian5.yuejian5.model;

import android.content.SharedPreferences;

import com.example.yeujian5.yuejian5.config.Config;

import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;

/**
 * Created by wangmengmeng on 2017/11/2.
 */


public class Model {
    private static SharedPreferences sharedPreferences;
    private static Retrofit retrofit;

    public static  Retrofit getConn( )
    {
        retrofit=new Retrofit.Builder().addConverterFactory(GsonConverterFactory.create()).baseUrl(Config.URL).build();
        return retrofit;
    }
}
